package com.pay.constants;

/**
 * @Description: 微信常量
 * @see: WeixinConstants 此处填写需要参考的类
 * @version 2016年9月19日 上午9:43:54
 * @author shulin.feng
 */
public class WeixinConstants {


	/** 服务公众号 */
	public static final String lfAppid = "wx1a01cc1e387ff66d";
	public static final String lfAppsecret = "cf2aa76932764fc3fe3a25cd0e4b66eb";
	public static final String lfToken = "lefuzhifu2013";// token服务器令牌

	/** 网页授权start */
	public static final String sessionOpenIdKey = "lfsessionOpenIdKey";// session中openidkey
	public static final String sessionLzzyOpenIdKey = "lzzysessionOpenIdKey";// 乐众资源session中openidkey
	public static final String oauth2Url = "https://open.weixin.qq.com/connect/oauth2/authorize";// 网页授权地址
	public static final String oauth2AccessTokenUrl = "https://api.weixin.qq.com/sns/oauth2/access_token";// 网页授权获取access_token地址
	public static final String userInfoUrl = "https://api.weixin.qq.com/sns/userinfo";// 网页授权获取用户信息地址
	public static final String userListInfoUrl = "https://api.weixin.qq.com/cgi-bin/user/get";// 获取用户列表
	public static final String cgiuserInfoUrl = "https://api.weixin.qq.com/cgi-bin/user/info";// 获取用户基本信息
	public static final String jsApiTicketUrl = "https://api.weixin.qq.com/cgi-bin/ticket/getticket";
	/** 网页授权end */

	/** 模板 **/
	public static final String wxRiskMsgId = "4UlMWWEZ3HDx54Wc77XfNWk6ijYx2AYa0GXSulM3CrU";// 账户冻结模板 生产																				// 生产

	/** 微信地址 **/
	public static final String templateMessageUrl = "https://api.weixin.qq.com/cgi-bin/message/template/send?access_token=";// 模板信息发送Url
	public static final String custSendMessageUrl = "https://api.weixin.qq.com/cgi-bin/message/custom/send?access_token=";// 商户发送信息Url
	public static final String tokenUrl = "https://api.weixin.qq.com/cgi-bin/token";

	/** 多客服 会话控制 **/
	public static final String kfsessionCreateUrl = "https://api.weixin.qq.com/customservice/kfsession/create?access_token=";// 创建会话
	public static final String kfsessionCloseUrl = "https://api.weixin.qq.com/customservice/kfsession/close?access_token=";// 关闭会话
	public static final String kfsessionGetsessionUrl = " https://api.weixin.qq.com/customservice/kfsession/getsession";// 获取客户的会话状态
	public static final String kfsessionGetsessionListUrl = "https://api.weixin.qq.com/customservice/kfsession/getsessionlist";// 获取客服的会话列表
	public static final String kfsessionGetwaitCaseUrl = "https://api.weixin.qq.com/customservice/kfsession/getwaitcase";// 获取未接入会话列表

	/** 多客服 客服管理 **/
	public static final String kfListUrl = "https://api.weixin.qq.com/cgi-bin/customservice/getkflist";// 获取客服基本信息
	public static final String onlinekflistUrl = "https://api.weixin.qq.com/cgi-bin/customservice/getonlinekflist";// 获取在线客服接待信息
	public static final String kfaccountAddUrl = "https://api.weixin.qq.com/customservice/kfaccount/add?access_token=";// 添加客服账号
	public static final String kfAccountUpdateUrl = "https://api.weixin.qq.com/customservice/kfaccount/update?access_token=";// 设置客服信息
	public static final String kfAccountUploadheadimgUrl = "http://api.weixin.qq.com/customservice/kfaccount/uploadheadimg?access_token=";// 上传客服头像
	public static final String kfAccountDel = "https://api.weixin.qq.com/customservice/kfaccount/del";// 删除客服账号
	public static final String kfOnlineListUrl = "https://api.weixin.qq.com/cgi-bin/customservice/getonlinekflist";// 获取在线客服接待信息

	/** 多客服 获取客服聊天记录 **/
	public static final String kfmsgRecordUrl = "https://api.weixin.qq.com/customservice/msgrecord/getrecord?access_token=";// 获取客服聊天记录


	/** 永久二维码 **/
	public static final String qrcodeUrl = "https://api.weixin.qq.com/cgi-bin/qrcode/create?access_token=";// 永久二维码

}
